package com.reconcile.phone.system.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 行政区划响应模型
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AllRegionVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String code;
    private String parentCode;
    private String parentName;
    private String name;
    private String simpleName;
    private String lat;
    private String lng;
    private List<AllRegionVo> cityList;

    public AllRegionVo(String code, String name, String simpleName, String lat, String lng,String parentCode,String parentName) {
        this.code = code;
        this.name = name;
        this.simpleName = simpleName;
        this.lat = lat;
        this.lng = lng;
        this.parentCode=parentCode;
        this.parentName=parentName;
    }
}
